package com.beordie.model;

import javax.print.attribute.standard.OrientationRequested;

/**
 * @Classname Users
 * @Description 管理员实体
 * @Date 2021/6/8 12:06
 * @Created 30500
 */
public class Users {
    // 管理员 ID
    private Integer userId;
    // 登录名
    private String loginName;
    // 密码
    private String password;
    // 真实姓名
    private  String realName;

    private Integer sex;
    private String email;
    private String address;
    private String phone;
    private String cardId;
    private String description;
    private Integer roleId;

    // 一个人分配一个权限
    private Role role;

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public Users() {
        super();
    }

    public Users(Integer userId, String loginName, String password, String realName) {
        this.userId = userId;
        this.loginName = loginName;
        this.password = password;
        this.realName = realName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }
}
